package com.itheima.mp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.mp.domain.dto.PageDTO;
import com.itheima.mp.domain.po.User;
import com.itheima.mp.domain.query.UserQuery;
import com.itheima.mp.domain.vo.UserAddressVo;
import com.itheima.mp.domain.vo.UserVO;

import java.util.List;

public interface IUserService extends IService<User> {

    Integer updateMoneyById(Long id, Integer money);

    UserVO getUserVoById(Long id);

    List<UserVO> getUserVoByIds(List<Long> ids);

    List<UserVO> getUserVoByUserQuery(UserQuery userQuery);

    List<UserAddressVo> getUserAddressVoByIds(List<Long> ids);

    PageDTO<UserVO> getPageQuery(UserQuery userQuery);
}
